//
//  NoteViewController.m
//  eBook
//
//  Created by zhy on 12-12-2.
//  Copyright (c) 2012年 zhan. All rights reserved.
//

#import "NoteViewController.h"

@interface NoteViewController ()

@end

@implementation NoteViewController
@synthesize NoteVCDelegate;


- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    NSLog(@"note View");
//    self.view.backgroundColor = [UIColor colorWithRed:225.0/255 green:240.0/255 blue:250.0/255 alpha:1];

}

- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
	return YES;
}

- (IBAction)AddNoteAction:(id)sender {
    
    [NoteVCDelegate AddNote];
}

- (IBAction)CheckNoteAction:(id)sender {
    [NoteVCDelegate CheckNote];
}


@end
